[INFO] fetching crate selfref 0.4.3...
[INFO] testing selfref-0.4.3 against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065
[INFO] extracting crate selfref 0.4.3 into /workspace/builds/worker-2-tc1/source
[INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain.toml
[INFO] started tweaking crates.io crate selfref 0.4.3
[INFO] finished tweaking crates.io crate selfref 0.4.3
[INFO] tweaked toml for crates.io crate selfref 0.4.3 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate selfref 0.4.3 on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 29 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded toml_parser v1.1.0+spec-1.1.0
[INFO] [stderr]   Downloaded generativity v1.1.0
[INFO] [stderr]   Downloaded serde_spanned v1.1.0
[INFO] [stderr]   Downloaded toml_writer v1.1.0+spec-1.1.0
[INFO] [stderr]   Downloaded toml_datetime v1.1.0+spec-1.1.0
[INFO] [stderr]   Downloaded trybuild v1.0.116
[INFO] [stderr]   Downloaded toml v1.1.0+spec-1.1.0
[INFO] [stderr]   Downloaded winnow v1.0.0
[INFO] [stderr]   Downloaded qcell v0.5.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6719ff6b0a38e0f771119efc8b7c2e6b605c5a68ff0ebf80d7cb3ab7e5063efe
[INFO] running `Command { std: "docker" "start" "-a" "6719ff6b0a38e0f771119efc8b7c2e6b605c5a68ff0ebf80d7cb3ab7e5063efe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6719ff6b0a38e0f771119efc8b7c2e6b605c5a68ff0ebf80d7cb3ab7e5063efe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6719ff6b0a38e0f771119efc8b7c2e6b605c5a68ff0ebf80d7cb3ab7e5063efe", kill_on_drop: false }`
[INFO] [stdout] 6719ff6b0a38e0f771119efc8b7c2e6b605c5a68ff0ebf80d7cb3ab7e5063efe
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] da8c8c4cdd3674a9dd05e9ec941a0479ba282c69f38e930be71680fc35352294
[INFO] running `Command { std: "docker" "start" "-a" "da8c8c4cdd3674a9dd05e9ec941a0479ba282c69f38e930be71680fc35352294", kill_on_drop: false }`
[INFO] [stderr]    Compiling selfref v0.4.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.10s
[INFO] running `Command { std: "docker" "inspect" "da8c8c4cdd3674a9dd05e9ec941a0479ba282c69f38e930be71680fc35352294", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "da8c8c4cdd3674a9dd05e9ec941a0479ba282c69f38e930be71680fc35352294", kill_on_drop: false }`
[INFO] [stdout] da8c8c4cdd3674a9dd05e9ec941a0479ba282c69f38e930be71680fc35352294
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3048f499b4afb10c1c7d6b47184b3fa1ba2adeadcf9cd83edef05115a2eda9ad
[INFO] running `Command { std: "docker" "start" "-a" "3048f499b4afb10c1c7d6b47184b3fa1ba2adeadcf9cd83edef05115a2eda9ad", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling target-triple v1.0.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling winnow v1.0.0
[INFO] [stderr]    Compiling toml_datetime v1.1.0+spec-1.1.0
[INFO] [stderr]    Compiling serde_spanned v1.1.0
[INFO] [stderr]    Compiling itoa v1.0.18
[INFO] [stderr]    Compiling toml_writer v1.1.0+spec-1.1.0
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling toml_parser v1.1.0+spec-1.1.0
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling toml v1.1.0+spec-1.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling trybuild v1.0.116
[INFO] [stderr]    Compiling selfref v0.4.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 17.52s
[INFO] running `Command { std: "docker" "inspect" "3048f499b4afb10c1c7d6b47184b3fa1ba2adeadcf9cd83edef05115a2eda9ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3048f499b4afb10c1c7d6b47184b3fa1ba2adeadcf9cd83edef05115a2eda9ad", kill_on_drop: false }`
[INFO] [stdout] 3048f499b4afb10c1c7d6b47184b3fa1ba2adeadcf9cd83edef05115a2eda9ad
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 201b26cf667620a4f25a379654fabb7bd5dcfdce192473b1a17b9472d11e4dd7
[INFO] running `Command { std: "docker" "start" "-a" "201b26cf667620a4f25a379654fabb7bd5dcfdce192473b1a17b9472d11e4dd7", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/selfref-af211ebcfc1b0efb)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/movable.rs (/opt/rustwide/target/debug/deps/movable-04e81de2f0872759)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test move_box ... ok
[INFO] [stdout] test move_rc ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/trybuild.rs (/opt/rustwide/target/debug/deps/trybuild-7f7fb78411439e17)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stderr]     Checking selfref v0.4.3 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking selfref-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/selfref)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stdout] test ui ... FAILED
[INFO] [stderr] test tests/ui/example_need_cell.rs ... ok
[INFO] [stdout] 
[INFO] [stderr] test tests/ui/example_opaque_vs_drop.rs ... mismatch
[INFO] [stdout] failures:
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stderr] EXPECTED:
[INFO] [stdout] ---- ui stdout ----
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stdout] 
[INFO] [stderr] error[E0597]: `x` does not live long enough
[INFO] [stdout] thread 'ui' (20) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.116/src/run.rs:102:13:
[INFO] [stderr]   --> tests/ui/example_opaque_vs_drop.rs:18:1
[INFO] [stdout] 3 of 4 tests failed
[INFO] [stderr]    |
[INFO] [stdout] stack backtrace:
[INFO] [stderr] 18 | / opaque! {
[INFO] [stdout]    0:     0x61864481b3ca - std[f92b4c606f291077]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stderr] 19 | |     impl Opaque for FooKey {
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stderr] 20 | |         type Kind<'a> = Foo<'a>;
[INFO] [stdout]    1:     0x61864481b3ca - std[f92b4c606f291077]::backtrace_rs::backtrace::trace_unsynchronized::<std[f92b4c606f291077]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stderr] 21 | |     }
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stderr] 22 | | }
[INFO] [stdout]    2:     0x61864481b3ca - std[f92b4c606f291077]::sys::backtrace::_print_fmt
[INFO] [stderr]    | | ^
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:74:9
[INFO] [stderr]    | | |
[INFO] [stdout]    3:     0x61864481b3ca - <<std[f92b4c606f291077]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[786f478f706679df]::fmt::Display>::fmt
[INFO] [stderr]    | | borrowed value does not live long enough
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:44:26
[INFO] [stderr]    | |_`x` dropped here while still borrowed
[INFO] [stdout]    4:     0x61864483181a - <core[786f478f706679df]::fmt::rt::Argument>::fmt
[INFO] [stderr]    |   borrow might be used here, when `x` is dropped and runs the destructor for type `UBCheck<Foo<'_>>`
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/fmt/rt.rs:152:76
[INFO] [stderr]    |
[INFO] [stdout]    5:     0x61864483181a - core[786f478f706679df]::fmt::write
[INFO] [stderr]    = note: this error originates in the macro `opaque` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]    6:     0x618644820422 - std[f92b4c606f291077]::io::default_write_fmt::<alloc[64763625b5a07cdb]::vec::Vec<u8>>
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/io/mod.rs:639:11
[INFO] [stderr] 
[INFO] [stdout]    7:     0x618644820422 - <alloc[64763625b5a07cdb]::vec::Vec<u8> as std[f92b4c606f291077]::io::Write>::write_fmt
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/io/mod.rs:1994:13
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stdout]    8:     0x6186447f750f - <std[f92b4c606f291077]::sys::backtrace::BacktraceLock>::print
[INFO] [stderr] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:47:9
[INFO] [stderr]   --> tests/ui/example_opaque_vs_drop.rs:18:1
[INFO] [stdout]    9:     0x6186447f750f - std[f92b4c606f291077]::panicking::default_hook::{closure#0}
[INFO] [stderr]    |
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:292:27
[INFO] [stderr] 18 | / opaque! {
[INFO] [stdout]   10:     0x6186448129a9 - std[f92b4c606f291077]::panicking::default_hook
[INFO] [stderr] 19 | |     impl Opaque for FooKey {
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:316:9
[INFO] [stderr] 20 | |         type Kind<'a> = Foo<'a>;
[INFO] [stdout]   11:     0x6186447acafc - <alloc[64763625b5a07cdb]::boxed::Box<dyn for<'a, 'b> core[786f478f706679df]::ops::function::Fn<(&'a std[f92b4c606f291077]::panic::PanicHookInfo<'b>,), Output = ()> + core[786f478f706679df]::marker::Sync + core[786f478f706679df]::marker::Send> as core[786f478f706679df]::ops::function::Fn<(&std[f92b4c606f291077]::panic::PanicHookInfo,)>>::call
[INFO] [stderr] 21 | |     }
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/boxed.rs:2254:9
[INFO] [stderr] 22 | | }
[INFO] [stdout]   12:     0x6186447acafc - test[20e1f0ae6cad7a17]::test_main_with_exit_callback::<test[20e1f0ae6cad7a17]::test_main::{closure#0}>::{closure#0}
[INFO] [stderr]    | | ^
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:145:21
[INFO] [stderr]    | | |
[INFO] [stdout]   13:     0x618644812b62 - <alloc[64763625b5a07cdb]::boxed::Box<dyn for<'a, 'b> core[786f478f706679df]::ops::function::Fn<(&'a std[f92b4c606f291077]::panic::PanicHookInfo<'b>,), Output = ()> + core[786f478f706679df]::marker::Sync + core[786f478f706679df]::marker::Send> as core[786f478f706679df]::ops::function::Fn<(&std[f92b4c606f291077]::panic::PanicHookInfo,)>>::call
[INFO] [stderr]    | | creates a temporary value which is freed while still in use
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/boxed.rs:2254:9
[INFO] [stderr]    | |_temporary value is freed at the end of this statement
[INFO] [stdout]   14:     0x618644812b62 - std[f92b4c606f291077]::panicking::panic_with_hook
[INFO] [stderr]    |   borrow might be used here, when `x` is dropped and runs the destructor for type `selfref::UBCheck<Foo<'_>>`
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:833:13
[INFO] [stderr]    |
[INFO] [stdout]   15:     0x6186447f75c8 - std[f92b4c606f291077]::panicking::panic_handler::{closure#0}
[INFO] [stderr]    = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:698:13
[INFO] [stderr]    = note: this error originates in the macro `opaque` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]   16:     0x6186447eec79 - std[f92b4c606f291077]::sys::backtrace::__rust_end_short_backtrace::<std[f92b4c606f291077]::panicking::panic_handler::{closure#0}, !>
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:182:18
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stdout]   17:     0x6186447f82dd - __rustc[8241495c18a89d70]::rust_begin_unwind
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:689:5
[INFO] [stderr] 
[INFO] [stdout]   18:     0x618644831fac - core[786f478f706679df]::panicking::panic_fmt
[INFO] [stderr] test tests/ui/no_uaf_1.rs ... mismatch
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panicking.rs:80:14
[INFO] [stderr] 
[INFO] [stdout]   19:     0x6186446917a4 - <trybuild[363bdcd58b4c9097]::Runner>::run
[INFO] [stderr] EXPECTED:
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.116/src/run.rs:102:13
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stdout]   20:     0x6186446a04d8 - <trybuild[363bdcd58b4c9097]::TestCases as core[786f478f706679df]::ops::drop::Drop>::drop
[INFO] [stderr] error[E0521]: borrowed data escapes outside of closure
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.116/src/lib.rs:342:38
[INFO] [stderr]   --> tests/ui/no_uaf_1.rs:23:13
[INFO] [stdout]   21:     0x618644565f57 - core[786f478f706679df]::ptr::drop_in_place::<trybuild[363bdcd58b4c9097]::TestCases>
[INFO] [stderr]    |
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/ptr/mod.rs:809:1
[INFO] [stderr] 21 |           let rc_clone = rc.clone();
[INFO] [stdout]   22:     0x6186445661a3 - trybuild[fd4d360b8aa7935f]::ui
[INFO] [stderr]    |               -------- `rc_clone` declared here, outside of the closure body
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/trybuild.rs:6:1
[INFO] [stderr] 22 |           let x = Holder::<'_, FooOpaque>::new_with(move |builder| {
[INFO] [stdout]   23:     0x6186445660f7 - trybuild[fd4d360b8aa7935f]::ui::{closure#0}
[INFO] [stderr]    |                                                           ------- `builder` is a reference that is only valid in the closure body
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/trybuild.rs:3:8
[INFO] [stderr] 23 | /             builder.build(Foo {
[INFO] [stdout]   24:     0x618644566636 - <trybuild[fd4d360b8aa7935f]::ui::{closure#0} as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr] 24 | |                 x: "Hello".to_owned(),
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/ops/function.rs:250:5
[INFO] [stderr] 25 | |                 y: rc_clone,
[INFO] [stdout]   25:     0x6186447a0bdb - <fn() -> core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr] 26 | |             });
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/ops/function.rs:250:5
[INFO] [stderr]    | |______________^ `builder` escapes the closure body here
[INFO] [stdout]   26:     0x6186447a0bdb - test[20e1f0ae6cad7a17]::__rust_begin_short_backtrace::<core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>, fn() -> core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>>
[INFO] [stderr]    |
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:663:18
[INFO] [stderr]    = note: requirement occurs because of a mutable reference to `selfref::Builder<'_, FooOpaque>`
[INFO] [stdout]   27:     0x6186447ad5cb - test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}
[INFO] [stderr]    = note: mutable references are invariant over their type parameter
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:686:74
[INFO] [stderr]    = help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
[INFO] [stdout]   28:     0x6186447ad5cb - <core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stderr] 
[INFO] [stdout]   29:     0x6186447ad5cb - std[f92b4c606f291077]::panicking::catch_unwind::do_call::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}>, core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>>
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:581:40
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stdout]   30:     0x6186447ad5cb - std[f92b4c606f291077]::panicking::catch_unwind::<core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>, core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}>>
[INFO] [stderr] error: lifetime may not live long enough
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:544:19
[INFO] [stderr]   --> tests/ui/no_uaf_1.rs:25:20
[INFO] [stdout]   31:     0x6186447ad5cb - std[f92b4c606f291077]::panic::catch_unwind::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}>, core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>>
[INFO] [stderr]    |
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panic.rs:359:14
[INFO] [stderr] 21 |         let rc_clone = rc.clone();
[INFO] [stdout]   32:     0x6186447ad5cb - test[20e1f0ae6cad7a17]::run_test_in_process
[INFO] [stderr]    |             -------- lifetime `'2` appears in the type of `rc_clone`
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:686:27
[INFO] [stderr] 22 |         let x = Holder::<'_, FooOpaque>::new_with(move |builder| {
[INFO] [stdout]   33:     0x6186447ad5cb - test[20e1f0ae6cad7a17]::run_test::{closure#0}
[INFO] [stderr]    |                                                         ------- has type `&mut selfref::Builder<'1, FooOpaque>`
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:607:43
[INFO] [stderr] ...
[INFO] [stdout]   34:     0x6186447a8ce4 - test[20e1f0ae6cad7a17]::run_test::{closure#1}
[INFO] [stderr] 25 |                 y: rc_clone,
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:637:41
[INFO] [stderr]    |                    ^^^^^^^^ this usage requires that `'1` must outlive `'2`
[INFO] [stdout]   35:     0x6186447a8ce4 - std[f92b4c606f291077]::sys::backtrace::__rust_begin_short_backtrace::<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>
[INFO] [stderr]    |
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:166:18
[INFO] [stderr]    = note: requirement occurs because of the type `std::cell::Cell<&str>`, which makes the generic argument `&str` invariant
[INFO] [stdout]   36:     0x6186447b01d2 - std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked::<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stderr]    = note: the struct `std::cell::Cell<T>` is invariant over the parameter `T`
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stderr]    = help: see <https://doc.rust-lang.org/nomicon/subtyping.html> for more information about variance
[INFO] [stdout]   37:     0x6186447b01d2 - <core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stdout]   38:     0x6186447b01d2 - std[f92b4c606f291077]::panicking::catch_unwind::do_call::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:581:40
[INFO] [stderr] 
[INFO] [stdout]   39:     0x6186447b01d2 - std[f92b4c606f291077]::panicking::catch_unwind::<(), core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stderr] test tests/ui/no_uaf_2.rs ... mismatch
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:544:19
[INFO] [stderr] 
[INFO] [stdout]   40:     0x6186447b01d2 - std[f92b4c606f291077]::panic::catch_unwind::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stderr] EXPECTED:
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panic.rs:359:14
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stdout]   41:     0x6186447b01d2 - std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked::<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stderr] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stderr]   --> tests/ui/no_uaf_2.rs:27:21
[INFO] [stdout]   42:     0x6186447b01d2 - <std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1} as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stderr]    |
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/ops/function.rs:250:5
[INFO] [stderr] 26 |     s.as_ref().operate_in(|r| {
[INFO] [stdout]   43:     0x61864481a70f - <alloc[64763625b5a07cdb]::boxed::Box<dyn core[786f478f706679df]::ops::function::FnOnce<(), Output = ()> + core[786f478f706679df]::marker::Send> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr]    |                            - has type `OperateIn<'1, MyStructKey>`
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/boxed.rs:2240:9
[INFO] [stderr] 27 |         r.cell.set(&String::from("hello world")); // temporary dropped at end of this statement
[INFO] [stdout]   44:     0x61864481a70f - <std[f92b4c606f291077]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stderr]    |         ------------^^^^^^^^^^^^^^^^^^^^^^^^^^^-- temporary value is freed at the end of this statement
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stderr]    |         |           |
[INFO] [stdout]   45:     0x7b2f299c2aa4 - <unknown>
[INFO] [stderr]    |         |           creates a temporary which is freed while still in use
[INFO] [stdout]   46:     0x7b2f29a4fa64 - clone
[INFO] [stderr]    |         argument requires that borrow lasts for `'1`
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stdout] failures:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stdout]     ui
[INFO] [stderr] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout] 
[INFO] [stderr]   --> tests/ui/no_uaf_2.rs:27:21
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.67s
[INFO] [stderr]    |
[INFO] [stdout] 
[INFO] [stderr] 26 |     s.as_ref().operate_in(|r| {
[INFO] [stderr]    |                            - has type `OperateIn<'1, MyStructKey>`
[INFO] [stderr] 27 |         r.cell.set(&String::from("hello world")); // temporary dropped at end of this statement
[INFO] [stderr]    |         ------------^^^^^^^^^^^^^^^^^^^^^^^^^^^-- temporary value is freed at the end of this statement
[INFO] [stderr]    |         |           |
[INFO] [stderr]    |         |           creates a temporary value which is freed while still in use
[INFO] [stderr]    |         argument requires that borrow lasts for `'1`
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] error: test failed, to rerun pass `--test trybuild`
[INFO] running `Command { std: "docker" "inspect" "201b26cf667620a4f25a379654fabb7bd5dcfdce192473b1a17b9472d11e4dd7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "201b26cf667620a4f25a379654fabb7bd5dcfdce192473b1a17b9472d11e4dd7", kill_on_drop: false }`
[INFO] [stdout] 201b26cf667620a4f25a379654fabb7bd5dcfdce192473b1a17b9472d11e4dd7
